import Backend.GeneralDatabase;
import Controller.LoginController;
import Implements.PostgreSQLServer;

import javax.swing.*;


public class Main
{


    public static void main(String[] args) throws Exception {

        GeneralDatabase database = new PostgreSQLServer(
                "frp-hub.com",
                "48882",
                "postgres",
                "20050109",
                "HealthSystem"
        );
        SwingUtilities.invokeLater(() -> {
            LoginController login = new LoginController(database);
            login.start();
        });

    }
}
